<?php

require_once ('Tag.php');

class Base extends Tag {
	
	protected $href;
	protected $target;
	
	public function __construct() {
		parent::__construct ("base");
		$this->href="";
		$this->target="";
		$this->attributeNames=array_merge($this->attributeNames,array('href','target'));
		$this->attributeValues=array_merge($this->attributeValues,array('',''));
	}
	
	public function setHref($_href)
	{
		$this->href=(string)$_href;
		$this->setAttribute('href',$_href);
	}
	
	public function getHref()
	{
		return $this->href;
	}
	
	public function setTarget($_target)
	{
		$this->target=(string)$_target;
		$this->setAttribute('target',$_target);
	}
	
	public function getTarget()
	{
		return $this->target;
	}
}

?>